package com.sinosoft.auth;

import com.sinosoft.common.swagger.annotation.EnableCustomSwagger2;
import com.sinosoft.common.security.annotation.EnableCustomConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.sinosoft.common.security.annotation.EnableRyFeignClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 认证授权中心
 * 
 * @author tangyongbo
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@EnableFeignClients(basePackages = {"com.sinosoft.system.api"})//加上这一句，否则会报无法找到RemoteLogService的注入的报错
public class BMPSAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(BMPSAuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  认证授权中心启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }
}
